import http from '@/plugins/axios'
// 获取收藏列表
export const getList = (params) =>http.post('/api/Picture/PostGetUserSCPictureList',params)
// 取消收藏
export const cancel = (params) =>http.post('/api/Picture/PostDeleteShouCang',params)
// 添加收藏
export const collect = (params) =>http.post('/api/Picture/PostAddShouCang',params)
// 获取点赞列表
export const getLikeList = (params) =>http.post('/api/Picture/PostGetMyDianZanPictureList',params)
// 取消点赞
export const likeCancel = (params) =>http.post('/api/Picture/PostDeleteDianZan',params)
// 添加点赞
export const like = (params) =>http.post('/api/Picture/PostAddDianZan',params)
// 获赞列表
export const getLikes = (params) => http.post('/api/Picture/PostGetHuoZanPictureList',params)